package com.cx.service;

import com.cx.pojo.Gearbox;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface GearboxService {
    int insert(Gearbox gearbox);

    int updateByPrimaryKey(Gearbox gearbox);

    int deleteByPrimaryKey(Integer gId);

    Gearbox selectByPrimaryKey(Integer gId);

    //查询所有变速箱
    //分页
    PageInfo<Gearbox> selectAllGearbox(Gearbox gearbox);

}
